<template>
	<view class="">
		<navigator url="/pages/demoHidden2/demoHidden2">点击跳转</navigator>
		<view class="clickHidden" @click="godemo2">
			js跳转
		</view>
		<view class="jump" @click="jumpClick">跳转首页</view>
	</view>
</template>

<script setup>

function godemo2(){
	uni.navigateTo({
		url:"/pages/demoHidden2/demoHidden2?name=张三&age=12"
	})
}
function jumpClick(){
	uni.reLaunch({
		url:"/pages/index/index",
		
	})
}
</script>

<style lang="scss" scoped>
</style>
